//
// Created by Suny on 14-11-18.
// Copyright (c) 2014 Suny. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "BaseViewController.h"



@class SelectTableViewController;

@protocol SelectTableViewItemDelegate

@optional
- (NSString *)selectTableViewItemImageUrlString;

- (NSString *)selectTableViewIteNameString;

- (NSString *)selectTableViewItemDetailInfoString;
@end

@protocol SelectTableViewDelegate

@optional

- (BOOL)selectContactViewController:(SelectTableViewController *)selectTableViewController
                      selectedArray:(NSArray *)selectedArray;

- (BOOL)selectContactViewController:(SelectTableViewController *)selectTableViewController
                         deleteItem:(id)item;

@end
@interface SelectTableViewController : BaseViewController <UITableViewDataSource, UITableViewDelegate>
@property(nonatomic,copy) NSString *cellImageHoderName;
@property(nonatomic, strong) NSMutableArray *topSourceArray;
@property(nonatomic, strong) NSMutableArray *normalSourceArray;
@property(nonatomic, weak) id<SelectTableViewDelegate>          delegate;
@property(nonatomic, strong) NSMutableArray *selectedArray;
@property(nonatomic, assign) BOOL      isMultiSelect;

@property (nonatomic, assign)BOOL showAlphaIndex;
@property (nonatomic, assign)BOOL showAlphaForSectionHeader;

@property (nonatomic, assign) UITableViewCellStyle tableViewCellStyle;

@property(nonatomic,assign)BOOL allowSlideDelete;

@property(nonatomic, strong) UITableView    *tableView;


- (void)reloadSelectItems;
@end